package cn.itcast.hotel.pojo;

import lombok.Data;

/**
 * @author ：xiaoZhou
 * @ClassName : RequestParams
 * @date ：Created in 2021/12/17 19:06
 */
@Data
public class RequestParams {
    //前端传递的数据  用这个实体类接受
    private String key;    //搜索框的数据
    private Integer page;  //分页 当前页数
    private Integer size;  //分页条数
    private String sortBy;  //排序规则

    private String brand;
    private String starName;
    private String city;
    private Integer minPrice;
    private Integer maxPrice;

    //定位
    private String location;

}
